object dmTimeSheets: TdmTimeSheets
  OldCreateOrder = False
  Left = 372
  Top = 377
  Height = 418
  Width = 936
  object cdsTimeSheet: TClientDataSet
    Aggregates = <>
    Params = <>
    AfterEdit = cdsTimeSheetAfterEdit
    BeforePost = cdsTimeSheetBeforePost
    Left = 145
    Top = 287
  end
  object dsTimeSheets: TDataSource
    DataSet = cdsTimeSheets
    Left = 16
    Top = 8
  end
  object dsMainDepartments: TDataSource
    DataSet = fdsMainDepartments
    Left = 15
    Top = 57
  end
  object dsServices: TDataSource
    DataSet = fdsServices
    Left = 15
    Top = 104
  end
  object dsAdditionalDepartments: TDataSource
    DataSet = fdsAdditionalDepartments
    Left = 15
    Top = 149
  end
  object dsTeachers: TDataSource
    DataSet = fdsTeachers
    Left = 15
    Top = 194
  end
  object dsChildren: TDataSource
    DataSet = cdsChildren
    Left = 15
    Top = 240
  end
  object cxGridViewRepository1: TcxGridViewRepository
    Left = 844
    Top = 8
    object tvServicesList: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      FilterBox.CustomizeDialog = False
      DataController.DataSource = dsServices
      DataController.KeyFieldNames = 'SDID'
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.CellHints = True
      OptionsBehavior.IncSearch = True
      OptionsData.Deleting = False
      OptionsData.Editing = False
      OptionsData.Inserting = False
      OptionsView.ColumnAutoWidth = True
      OptionsView.GroupByBox = False
      OptionsView.Header = False
      Styles.Content = DMInv.cxData
      Styles.IncSearch = DMInv.cxKrasniyText
      Styles.Selection = DMInv.cxJoltiyFon
      object tvServicesList_SDID: TcxGridDBColumn
        DataBinding.FieldName = 'SDID'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvServicesList_SDNAME: TcxGridDBColumn
        Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077
        DataBinding.FieldName = 'SDNAME'
        Options.Filtering = False
        SortIndex = 0
        SortOrder = soAscending
      end
    end
    object tvAdditionalDepartmentsList: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      FilterBox.CustomizeDialog = False
      DataController.DataSource = dsAdditionalDepartments
      DataController.KeyFieldNames = 'SDID'
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.CellHints = True
      OptionsBehavior.IncSearch = True
      OptionsData.Deleting = False
      OptionsData.Editing = False
      OptionsData.Inserting = False
      OptionsView.ColumnAutoWidth = True
      OptionsView.GroupByBox = False
      OptionsView.Header = False
      Styles.Content = DMInv.cxData
      Styles.IncSearch = DMInv.cxKrasniyText
      Styles.Selection = DMInv.cxJoltiyFon
      object tvAdditionalDepartmentsList_SDID: TcxGridDBColumn
        DataBinding.FieldName = 'SDID'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvAdditionalDepartmentsList_SDNAME: TcxGridDBColumn
        Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077
        DataBinding.FieldName = 'SDNAME'
        Options.Filtering = False
        SortIndex = 0
        SortOrder = soAscending
      end
    end
    object tvTeachersList: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      FilterBox.CustomizeDialog = False
      DataController.DataSource = dsTeachers
      DataController.KeyFieldNames = 'ID_USER'
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.CellHints = True
      OptionsBehavior.IncSearch = True
      OptionsData.Deleting = False
      OptionsData.Editing = False
      OptionsData.Inserting = False
      OptionsView.ColumnAutoWidth = True
      OptionsView.GroupByBox = False
      OptionsView.Header = False
      Styles.Content = DMInv.cxData
      Styles.IncSearch = DMInv.cxKrasniyText
      Styles.Selection = DMInv.cxJoltiyFon
      object tvTeachersList_ID_USER: TcxGridDBColumn
        DataBinding.FieldName = 'ID_USER'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTeachersList_FIO: TcxGridDBColumn
        Caption = #1060#1048#1054
        DataBinding.FieldName = 'FIO'
        Options.Filtering = False
        SortIndex = 0
        SortOrder = soAscending
      end
    end
    object tvChildren: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      FilterBox.CustomizeDialog = False
      DataController.DataSource = dsChildren
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <
        item
          Format = #1054#1090#1084#1077#1095#1077#1085#1086':,0'
          Kind = skSum
          Column = tvChildren_IS_CHECK
        end
        item
          Format = #1050#1086#1083'-'#1074#1086':,0'
          Kind = skCount
          Column = tvChildren_FIO
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.CellHints = True
      OptionsBehavior.IncSearch = True
      OptionsCustomize.ColumnsQuickCustomization = True
      OptionsData.Deleting = False
      OptionsData.Inserting = False
      OptionsSelection.HideFocusRectOnExit = False
      OptionsView.ColumnAutoWidth = True
      OptionsView.Footer = True
      OptionsView.FooterAutoHeight = True
      OptionsView.GroupByBox = False
      OptionsView.HeaderAutoHeight = True
      Styles.Content = DMInv.cxData
      Styles.IncSearch = DMInv.cxKrasniyText
      Styles.Selection = DMInv.cxJoltiyFon
      Styles.OnGetContentStyle = tvChildrenStylesGetContentStyle
      Styles.Header = DMInv.cxSiniyText
      object tvChildren_PID: TcxGridDBColumn
        DataBinding.FieldName = 'PID'
        Visible = False
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Options.Editing = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvChildren_FIO: TcxGridDBColumn
        Caption = #1060#1048#1054
        DataBinding.FieldName = 'FIO'
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Options.Editing = False
        Options.Filtering = False
        SortIndex = 0
        SortOrder = soAscending
        Width = 120
      end
      object tvChildren_MAIN_DEPARTMENT: TcxGridDBColumn
        Caption = #1054#1089#1085#1086#1074#1085#1086#1077' '#1087#1086#1076#1088#1072#1079#1076#1077#1083#1077#1085#1080#1077
        DataBinding.FieldName = 'MAIN_DEPARTMENT'
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Options.Editing = False
        Options.Filtering = False
        Width = 102
      end
      object tvChildren_ADATE: TcxGridDBColumn
        Caption = #1044#1072#1090#1072
        DataBinding.FieldName = 'ADATE'
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Options.Editing = False
        Options.Filtering = False
        Width = 48
      end
      object tvChildren_MIN_IN: TcxGridDBColumn
        Caption = #1042#1088#1077#1084#1103' '#1087#1077#1088#1074#1086#1075#1086' '#1074#1093#1086#1076#1072' '#1074' '#1091#1095#1088#1077#1078#1076#1077#1085#1080#1077' '#1074' '#1091#1082#1072#1079#1072#1085#1085#1091#1102' '#1076#1072#1090#1091
        DataBinding.FieldName = 'MIN_IN'
        RepositoryItem = DMInv.eriTimeEdit
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Options.Editing = False
        Options.Filtering = False
        Width = 83
      end
      object tvChildren_MAX_OUT: TcxGridDBColumn
        Caption = #1042#1088#1077#1084#1103' '#1087#1086#1089#1083#1077#1076#1085#1077#1075#1086' '#1074#1099#1093#1086#1076#1072' '#1080#1079' '#1091#1095#1088#1077#1078#1076#1077#1085#1080#1103' '#1074' '#1091#1082#1072#1079#1072#1085#1085#1091#1102' '#1076#1072#1090#1091
        DataBinding.FieldName = 'MAX_OUT'
        RepositoryItem = DMInv.eriTimeEdit
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Options.Editing = False
        Options.Filtering = False
        Width = 82
      end
      object tvChildren_COUNT_IS_ENABLED: TcxGridDBColumn
        Caption = #1050#1086#1083#1080#1095#1077#1089#1090#1074#1086' '#1076#1086#1089#1090#1091#1087#1085#1099#1093' '#1079#1072#1085#1103#1090#1080#1081
        DataBinding.FieldName = 'COUNT_IS_ENABLED'
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Options.Editing = False
        Options.Filtering = False
        Width = 75
      end
      object tvChildren_IS_TIME_CONFLICT: TcxGridDBColumn
        Caption = #1050#1086#1085#1092#1083#1080#1082#1090
        DataBinding.FieldName = 'IS_TIME_CONFLICT'
        Visible = False
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Options.Editing = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvChildren_CONFLICT_TEXT: TcxGridDBColumn
        Caption = #1050#1086#1085#1092#1083#1080#1082#1090
        DataBinding.FieldName = 'CONFLICT_TEXT'
        Visible = False
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        Options.Editing = False
        Options.Filtering = False
        Width = 58
      end
      object tvChildren_COUNT_IS_NORMAL: TcxGridDBColumn
        Caption = #1050#1086#1083#1080#1095#1077#1089#1090#1074#1086' '#1079#1072#1088#1077#1075#1080#1089#1090#1088#1080#1088#1086#1074#1072#1085#1085#1099#1093' '#1085#1086#1088#1084#1072#1083#1100#1085#1099#1093' '#1079#1072#1085#1103#1090#1080#1081
        DataBinding.FieldName = 'COUNT_IS_NORMAL'
        Options.Editing = False
        Options.Filtering = False
        Width = 55
      end
      object tvChildren_COUNT_IS_CONFLICT: TcxGridDBColumn
        Caption = #1050#1086#1083#1080#1095#1077#1089#1090#1074#1086' '#1079#1072#1088#1077#1075#1089#1090#1088#1086#1074#1072#1085#1085#1099#1093' '#1079#1072#1085#1103#1090#1080#1081' '#1089' '#1089#1080#1089#1090#1077#1084#1085#1099#1084' '#1082#1086#1085#1092#1083#1080#1082#1090#1086#1084
        DataBinding.FieldName = 'COUNT_IS_CONFLICT'
        Options.Editing = False
        Options.Filtering = False
        Width = 54
      end
      object tvChildren_IS_CHECK: TcxGridDBColumn
        Caption = #1042#1082#1083#1102#1095#1077#1085#1086' '#1076#1083#1103' '#1089#1086#1079#1076#1072#1085#1080#1103' '#1090#1072#1073#1077#1083#1103
        DataBinding.FieldName = 'IS_CHECK'
        RepositoryItem = DMInv.eriCheckBox
        Visible = False
        HeaderAlignmentHorz = taCenter
        HeaderAlignmentVert = vaCenter
        MinWidth = 24
        Options.Filtering = False
        Width = 24
      end
      object tvChildren_LESSON_DURATION: TcxGridDBColumn
        Caption = #1055#1088#1086#1076#1086#1083#1078#1080#1090#1077#1083#1100#1085#1086#1089#1090#1100' '#1079#1072#1085#1103#1090#1080#1103
        DataBinding.FieldName = 'LESSON_DURATION'
        Visible = False
        Options.Filtering = False
      end
      object tvChildren_ID_SPEC_COND: TcxGridDBColumn
        DataBinding.FieldName = 'ID_SPEC_COND'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvChildren_COUNT_EXTRA: TcxGridDBColumn
        Caption = #1050#1086#1083'-'#1074#1086' '#1079#1072#1085#1103#1090#1080#1081', '#1082#1086#1090#1086#1088#1099#1077' '#1084#1099' '#1076#1086#1083#1078#1085#1099
        DataBinding.FieldName = 'COUNT_EXTRA'
        Visible = False
        Width = 53
      end
    end
    object tvTimeSheetsView: TcxGridDBTableView
      OnKeyPress = tvTimeSheetsViewKeyPress
      NavigatorButtons.ConfirmDelete = False
      FilterBox.CustomizeDialog = False
      OnCellDblClick = tvTimeSheetsViewCellDblClick
      DataController.DataSource = dsTimeSheets
      DataController.KeyFieldNames = 'RSID'
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <
        item
          Format = #1050#1086#1083'-'#1074#1086':,0'
          Kind = skCount
          Column = tvTimeSheetsView_RSTEMA
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.CellHints = True
      OptionsBehavior.IncSearch = True
      OptionsCustomize.ColumnsQuickCustomization = True
      OptionsData.Deleting = False
      OptionsData.Editing = False
      OptionsData.Inserting = False
      OptionsSelection.HideFocusRectOnExit = False
      OptionsView.ColumnAutoWidth = True
      OptionsView.ExpandButtonsForEmptyDetails = False
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      OptionsView.HeaderAutoHeight = True
      Styles.Content = DMInv.cxData
      Styles.IncSearch = DMInv.cxKrasniyText
      Styles.Selection = DMInv.cxJoltiyFon
      Styles.Header = DMInv.cxSiniyText
      object tvTimeSheetsView_RSID: TcxGridDBColumn
        DataBinding.FieldName = 'RSID'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsView_SDID: TcxGridDBColumn
        DataBinding.FieldName = 'SDID'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsView_PID_PEDAG: TcxGridDBColumn
        DataBinding.FieldName = 'PID_PEDAG'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsView_PID_ADM: TcxGridDBColumn
        DataBinding.FieldName = 'PID_ADM'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsView_RSDATE: TcxGridDBColumn
        Caption = #1044#1072#1090#1072' '#1086#1082#1072#1079#1072#1085#1080#1103' '#1091#1089#1083#1091#1075#1080
        DataBinding.FieldName = 'RSDATE'
        Options.Filtering = False
        SortIndex = 0
        SortOrder = soAscending
        Width = 71
      end
      object tvTimeSheetsView_RSTIMEBEGIN: TcxGridDBColumn
        Caption = #1042#1088#1077#1084#1103' '#1085#1072#1095#1072#1083#1072' '#1086#1082#1072#1079#1072#1085#1080#1103' '#1091#1089#1083#1091#1075#1080
        DataBinding.FieldName = 'RSTIMEBEGIN'
        RepositoryItem = DMInv.eriTimeEdit
        Options.Filtering = False
        SortIndex = 1
        SortOrder = soAscending
        Width = 69
      end
      object tvTimeSheetsView_RSTIMEEND: TcxGridDBColumn
        Caption = #1042#1088#1077#1084#1103' '#1086#1082#1086#1085#1095#1072#1085#1080#1103' '#1086#1082#1072#1079#1072#1085#1080#1103' '#1091#1089#1083#1091#1075#1080
        DataBinding.FieldName = 'RSTIMEEND'
        RepositoryItem = DMInv.eriTimeEdit
        Options.Filtering = False
        SortIndex = 2
        SortOrder = soAscending
        Width = 65
      end
      object tvTimeSheetsView_SERVICE_NAME: TcxGridDBColumn
        Caption = #1059#1089#1083#1091#1075#1072
        DataBinding.FieldName = 'SERVICE_NAME'
        GroupIndex = 0
        Options.Filtering = False
        SortIndex = 3
        SortOrder = soAscending
        Width = 81
      end
      object tvTimeSheetsView_PEDAG_NAME: TcxGridDBColumn
        Caption = #1060#1048#1054' '#1087#1088#1077#1087#1086#1076#1072#1074#1072#1090#1077#1083#1103
        DataBinding.FieldName = 'PEDAG_NAME'
        Options.Filtering = False
        SortIndex = 4
        SortOrder = soAscending
        Width = 83
      end
      object tvTimeSheetsView_RSTEMA: TcxGridDBColumn
        Caption = #1058#1077#1084#1072
        DataBinding.FieldName = 'RSTEMA'
        Options.Filtering = False
        SortIndex = 5
        SortOrder = soAscending
        Width = 135
      end
      object tvTimeSheetsView_RSTIMEENTER: TcxGridDBColumn
        Caption = #1044#1072#1090#1072'-'#1074#1088#1077#1084#1103' '#1079#1072#1074#1077#1076#1077#1085#1103' '#1079#1072#1087#1080#1089#1080
        DataBinding.FieldName = 'RSTIMEENTER'
        Options.Filtering = False
        Width = 50
      end
      object tvTimeSheetsView_RSUSERENTER: TcxGridDBColumn
        Caption = #1055#1086#1083#1100#1079#1086#1074#1072#1090#1077#1083#1100', '#1082#1086#1090#1086#1088#1099#1081' '#1079#1072#1074#1105#1083' '#1079#1072#1087#1080#1089#1100
        DataBinding.FieldName = 'RSUSERENTER'
        Options.Filtering = False
        Width = 68
      end
      object tvTimeSheetsView_RSTIMEEDIT: TcxGridDBColumn
        Caption = #1044#1072#1090#1072'-'#1074#1088#1077#1084#1103' '#1087#1086#1089#1083#1077#1076#1085#1077#1075#1086' '#1080#1079#1084#1077#1085#1077#1085#1080#1103' '#1079#1072#1087#1080#1089#1080
        DataBinding.FieldName = 'RSTIMEEDIT'
        Visible = False
        Options.Filtering = False
      end
      object tvTimeSheetsView_RSUSEREDIT: TcxGridDBColumn
        Caption = #1055#1086#1083#1100#1079#1086#1074#1072#1090#1077#1083#1100', '#1086#1090#1088#1077#1076#1072#1082#1090#1080#1088#1086#1074#1072#1074#1096#1080#1081' '#1079#1072#1087#1080#1089#1100
        DataBinding.FieldName = 'RSUSEREDIT'
        Visible = False
        Options.Filtering = False
      end
      object tvTimeSheetsView_RSISDELETE: TcxGridDBColumn
        DataBinding.FieldName = 'RSISDELETE'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsView_IS_TIME_CONFLICT: TcxGridDBColumn
        DataBinding.FieldName = 'IS_TIME_CONFLICT'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsView_ID_SHEET: TcxGridDBColumn
        DataBinding.FieldName = 'ID_SHEET'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsView_ID_RENDERING_SERVICE_TYPE: TcxGridDBColumn
        DataBinding.FieldName = 'ID_RENDERING_SERVICE_TYPE'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsView_SERVICE_TYPE: TcxGridDBColumn
        DataBinding.FieldName = 'SERVICE_TYPE'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsView_ID_ADDITIONAL_DEPARTMENT: TcxGridDBColumn
        DataBinding.FieldName = 'ID_ADDITIONAL_DEPARTMENT'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsView_COUNT_CHILD: TcxGridDBColumn
        Caption = #1050#1086#1083'-'#1074#1086' '#1091#1095#1077#1085#1080#1082#1086#1074
        DataBinding.FieldName = 'COUNT_CHILD'
        Width = 33
      end
    end
    object tvGroupChildren: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      FilterBox.CustomizeDialog = False
      DataController.DataSource = dsTimeSheet
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <
        item
          Format = #1050#1086#1083'-'#1074#1086':,0'
          Kind = skCount
          Column = tvGroupChildren_CHILD_FIO
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.IncSearch = True
      OptionsCustomize.ColumnsQuickCustomization = True
      OptionsData.Deleting = False
      OptionsData.Inserting = False
      OptionsSelection.HideFocusRectOnExit = False
      OptionsView.CellAutoHeight = True
      OptionsView.ColumnAutoWidth = True
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      OptionsView.HeaderAutoHeight = True
      Styles.Content = DMInv.cxData
      Styles.IncSearch = DMInv.cxKrasniyText
      Styles.Selection = DMInv.cxJoltiyFon
      Styles.OnGetContentStyle = tvGroupChildrenStylesGetContentStyle
      Styles.Header = DMInv.cxSiniyText
      object tvGroupChildren_RSID: TcxGridDBColumn
        DataBinding.FieldName = 'RSID'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_SDID: TcxGridDBColumn
        DataBinding.FieldName = 'SDID'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_PID_PEDAG: TcxGridDBColumn
        DataBinding.FieldName = 'PID_PEDAG'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_PID_ADM: TcxGridDBColumn
        DataBinding.FieldName = 'PID_ADM'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_RSDATE: TcxGridDBColumn
        Caption = #1044#1072#1090#1072' '#1086#1082#1072#1079#1072#1085#1080#1103' '#1091#1089#1083#1091#1075#1080
        DataBinding.FieldName = 'RSDATE'
        Visible = False
        Options.Editing = False
        Options.Filtering = False
      end
      object tvGroupChildren_RSTIMEBEGIN: TcxGridDBColumn
        Caption = #1042#1088#1077#1084#1103' '#1085#1072#1095#1072#1083#1072' '#1086#1082#1072#1079#1072#1085#1080#1103' '#1091#1089#1083#1091#1075#1080
        DataBinding.FieldName = 'RSTIMEBEGIN'
        RepositoryItem = DMInv.eriTimeEdit
        Visible = False
        Options.Editing = False
        Options.Filtering = False
      end
      object tvGroupChildren_RSTIMEEND: TcxGridDBColumn
        Caption = #1042#1088#1077#1084#1103' '#1086#1082#1086#1085#1095#1072#1085#1080#1103' '#1086#1082#1072#1079#1072#1085#1080#1103' '#1091#1089#1083#1091#1075#1080
        DataBinding.FieldName = 'RSTIMEEND'
        RepositoryItem = DMInv.eriTimeEdit
        Visible = False
        Options.Editing = False
        Options.Filtering = False
      end
      object tvGroupChildren_RSTEMA: TcxGridDBColumn
        Caption = #1058#1077#1084#1072
        DataBinding.FieldName = 'RSTEMA'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_RSTIMEENTER: TcxGridDBColumn
        Caption = #1044#1072#1090#1072'-'#1074#1088#1077#1084#1103' '#1079#1072#1074#1077#1076#1077#1085#1103' '#1079#1072#1087#1080#1089#1080
        DataBinding.FieldName = 'RSTIMEENTER'
        Visible = False
        Options.Editing = False
        Options.Filtering = False
      end
      object tvGroupChildren_RSUSERENTER: TcxGridDBColumn
        Caption = #1055#1086#1083#1100#1079#1086#1074#1072#1090#1077#1083#1100', '#1082#1086#1090#1086#1088#1099#1081' '#1079#1072#1074#1105#1083' '#1079#1072#1087#1080#1089#1100
        DataBinding.FieldName = 'RSUSERENTER'
        Visible = False
        Options.Editing = False
        Options.Filtering = False
      end
      object tvGroupChildren_RSTIMEEDIT: TcxGridDBColumn
        Caption = #1044#1072#1090#1072'-'#1074#1088#1077#1084#1103' '#1087#1086#1089#1083#1077#1076#1085#1077#1075#1086' '#1080#1079#1084#1077#1085#1077#1085#1080#1103' '#1079#1072#1087#1080#1089#1080
        DataBinding.FieldName = 'RSTIMEEDIT'
        Visible = False
        Options.Editing = False
        Options.Filtering = False
      end
      object tvGroupChildren_RSUSEREDIT: TcxGridDBColumn
        Caption = #1055#1086#1083#1100#1079#1086#1074#1072#1090#1077#1083#1100', '#1086#1090#1088#1077#1076#1072#1082#1090#1080#1088#1086#1074#1072#1074#1096#1080#1081' '#1079#1072#1087#1080#1089#1100
        DataBinding.FieldName = 'RSUSEREDIT'
        Visible = False
        Options.Editing = False
        Options.Filtering = False
      end
      object tvGroupChildren_RSISDELETE: TcxGridDBColumn
        DataBinding.FieldName = 'RSISDELETE'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_SAVE_WITH_CONFLICT: TcxGridDBColumn
        DataBinding.FieldName = 'SAVE_WITH_CONFLICT'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_ID_SHEET: TcxGridDBColumn
        DataBinding.FieldName = 'ID_SHEET'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_ID_RENDERING_SERVICE_TYPE: TcxGridDBColumn
        DataBinding.FieldName = 'ID_RENDERING_SERVICE_TYPE'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_PID: TcxGridDBColumn
        DataBinding.FieldName = 'PID'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_CHILD_FIO: TcxGridDBColumn
        Caption = #1060#1048#1054
        DataBinding.FieldName = 'CHILD_FIO'
        Options.Editing = False
        Options.Filtering = False
        SortIndex = 0
        SortOrder = soAscending
        Width = 75
      end
      object tvGroupChildren_MAIN_DEPARTMENT: TcxGridDBColumn
        Caption = #1054#1089#1085#1086#1074#1085#1086#1077' '#1087#1086#1076#1088#1072#1079#1076#1077#1083#1077#1085#1080#1077
        DataBinding.FieldName = 'MAIN_DEPARTMENT'
        Options.Editing = False
        Options.Filtering = False
        Width = 62
      end
      object tvGroupChildren_MIN_IN: TcxGridDBColumn
        Caption = #1042#1088#1077#1084#1103' '#1087#1077#1088#1074#1086#1075#1086' '#1074#1093#1086#1076#1072' '#1074' '#1091#1095#1088#1077#1078#1076#1077#1085#1080#1077' '#1074' '#1091#1082#1072#1079#1072#1085#1085#1091#1102' '#1076#1072#1090#1091
        DataBinding.FieldName = 'MIN_IN'
        RepositoryItem = DMInv.eriTimeEdit
        Options.Editing = False
        Options.Filtering = False
        Width = 57
      end
      object tvGroupChildren_MAX_OUT: TcxGridDBColumn
        Caption = #1042#1088#1077#1084#1103' '#1087#1086#1089#1083#1077#1076#1085#1077#1075#1086' '#1074#1099#1093#1086#1076#1072' '#1080#1079' '#1091#1095#1088#1077#1078#1076#1077#1085#1080#1103' '#1074' '#1091#1082#1072#1079#1072#1085#1085#1091#1102' '#1076#1072#1090#1091
        DataBinding.FieldName = 'MAX_OUT'
        RepositoryItem = DMInv.eriTimeEdit
        Options.Editing = False
        Options.Filtering = False
        Width = 55
      end
      object tvGroupChildren_COUNT_IS_ENABLED: TcxGridDBColumn
        Caption = #1050#1086#1083#1080#1095#1077#1089#1090#1074#1086' '#1076#1086#1089#1090#1091#1087#1085#1099#1093' '#1079#1072#1085#1103#1090#1080#1081
        DataBinding.FieldName = 'COUNT_IS_ENABLED'
        Options.Editing = False
        Options.Filtering = False
        Width = 50
      end
      object tvGroupChildren_TEACHER_SUPERVISION: TcxGridDBColumn
        Caption = #1053#1072#1073#1083#1102#1076#1077#1085#1080#1077' '#1087#1077#1076#1072#1075#1086#1075#1072' '#1086' '#1079#1072#1085#1103#1090#1080#1080', '#1087#1086#1074#1077#1076#1077#1085#1080#1077' '#1088#1077#1073#1105#1085#1082#1072
        DataBinding.FieldName = 'TEACHER_SUPERVISION'
        RepositoryItem = DMInv.eriMRUEdit
        Options.Filtering = False
        Width = 179
      end
      object tvGroupChildren_CHIEF_NOTE: TcxGridDBColumn
        Caption = #1050#1086#1084#1084#1077#1085#1090#1072#1088#1080#1081' '#1088#1091#1082#1086#1074#1086#1076#1080#1090#1077#1083#1103
        DataBinding.FieldName = 'CHIEF_NOTE'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_IS_TIME_CONFLICT: TcxGridDBColumn
        DataBinding.FieldName = 'IS_TIME_CONFLICT'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_CONFLICT_TEXT: TcxGridDBColumn
        DataBinding.FieldName = 'CONFLICT_TEXT'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_CONFLICT_NOTE: TcxGridDBColumn
        DataBinding.FieldName = 'CONFLICT_NOTE'
        RepositoryItem = DMInv.eriMemo
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_RSOPLATIT: TcxGridDBColumn
        DataBinding.FieldName = 'RSOPLATIT'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_IS_EXIST_TIME_CONFLICT: TcxGridDBColumn
        Caption = #1053#1072#1083#1080#1095#1080#1077' '#1089#1080#1089#1090#1077#1084#1085#1086#1075#1086' '#1082#1086#1085#1092#1083#1080#1082#1090#1072
        DataBinding.FieldName = 'IS_EXIST_TIME_CONFLICT'
        RepositoryItem = DMInv.eriCheckBox
        Options.Editing = False
        Options.Filtering = False
        Width = 32
      end
      object tvGroupChildren_SAVE_WITH_COMMENT: TcxGridDBColumn
        Caption = #1057#1090#1088#1086#1082#1072' '#1089#1086#1093#1088#1072#1085#1077#1085#1072' '#1089' '#1082#1086#1084#1084#1077#1085#1090#1072#1088#1080#1103#1084#1080
        DataBinding.FieldName = 'SAVE_WITH_COMMENT'
        RepositoryItem = DMInv.eriCheckBox
        Options.Editing = False
        Options.Filtering = False
        Width = 34
      end
      object tvGroupChildren_DELETE_FROM_TIME_SHEET: TcxGridDBColumn
        Caption = #1059#1076#1072#1083#1080#1090#1100' '#1089#1090#1088#1086#1082#1091' '#1080#1079' '#1090#1072#1073#1077#1083#1103
        DataBinding.FieldName = 'DELETE_FROM_TIME_SHEET'
        RepositoryItem = DMInv.eriCheckBox
        Options.Filtering = False
        Width = 38
      end
      object tvGroupChildren_ID_SPEC_COND: TcxGridDBColumn
        DataBinding.FieldName = 'ID_SPEC_COND'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_RSP_ID_SHEET: TcxGridDBColumn
        DataBinding.FieldName = 'RSP_ID_SHEET'
        Visible = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_AOPERATION: TcxGridDBColumn
        DataBinding.FieldName = 'AOPERATION'
        Visible = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_COUNT_EXTRA: TcxGridDBColumn
        Caption = #1050#1086#1083'-'#1074#1086' '#1101#1082#1089#1090#1088#1072#1079#1072#1085#1103#1090#1080#1081
        DataBinding.FieldName = 'COUNT_EXTRA'
        Visible = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_IS_EXTRA_SERVICE: TcxGridDBColumn
        Caption = #1069#1082#1089#1090#1088#1072#1091#1089#1083#1091#1075#1072
        DataBinding.FieldName = 'IS_EXTRA_SERVICE'
        Visible = False
        Width = 37
      end
      object tvGroupChildren_PAYMENT_DATE: TcxGridDBColumn
        DataBinding.FieldName = 'PAYMENT_DATE'
        Visible = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_EDIT_TARIFF: TcxGridDBColumn
        DataBinding.FieldName = 'EDIT_TARIFF'
        Visible = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_IS_TIME_CONFLICT_LATE: TcxGridDBColumn
        DataBinding.FieldName = 'IS_TIME_CONFLICT_LATE'
        Visible = False
        VisibleForCustomization = False
      end
      object tvGroupChildren_CONFLICT_LATE_TEXT: TcxGridDBColumn
        Caption = #1057#1074#1103#1079#1072#1085#1085#1099#1081' '#1082#1086#1085#1092#1083#1080#1082#1090
        DataBinding.FieldName = 'CONFLICT_LATE_TEXT'
        Visible = False
        Width = 53
      end
    end
    object tvTimeSheetsChildren: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      DataController.DataSource = dsTimeSheetsChildren
      DataController.DetailKeyFieldNames = 'RSID'
      DataController.MasterKeyFieldNames = 'RSID'
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.CellHints = True
      OptionsBehavior.IncSearch = True
      OptionsCustomize.ColumnsQuickCustomization = True
      OptionsData.Deleting = False
      OptionsData.Editing = False
      OptionsData.Inserting = False
      OptionsView.CellAutoHeight = True
      OptionsView.ColumnAutoWidth = True
      OptionsView.ExpandButtonsForEmptyDetails = False
      OptionsView.GroupByBox = False
      OptionsView.HeaderAutoHeight = True
      Styles.OnGetContentStyle = tvGroupChildrenStylesGetContentStyle
      object tvTimeSheetsChildren_RSID: TcxGridDBColumn
        DataBinding.FieldName = 'RSID'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_SDID: TcxGridDBColumn
        DataBinding.FieldName = 'SDID'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_PID_PEDAG: TcxGridDBColumn
        DataBinding.FieldName = 'PID_PEDAG'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_PID_ADM: TcxGridDBColumn
        DataBinding.FieldName = 'PID_ADM'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_RSDATE: TcxGridDBColumn
        Caption = #1044#1072#1090#1072' '#1086#1082#1072#1079#1072#1085#1080#1103' '#1091#1089#1083#1091#1075#1080
        DataBinding.FieldName = 'RSDATE'
        Visible = False
        Options.Filtering = False
      end
      object tvTimeSheetsChildren_RSTIMEBEGIN: TcxGridDBColumn
        Caption = #1042#1088#1077#1084#1103' '#1085#1072#1095#1072#1083#1072' '#1079#1072#1085#1103#1090#1080#1103
        DataBinding.FieldName = 'RSTIMEBEGIN'
        RepositoryItem = DMInv.eriTimeEdit
        Visible = False
        Options.Filtering = False
      end
      object tvTimeSheetsChildren_RSTIMEEND: TcxGridDBColumn
        Caption = #1042#1088#1077#1084#1103' '#1086#1082#1086#1085#1095#1072#1085#1080#1103' '#1079#1072#1085#1103#1090#1080#1103
        DataBinding.FieldName = 'RSTIMEEND'
        RepositoryItem = DMInv.eriTimeEdit
        Visible = False
        Options.Filtering = False
      end
      object tvTimeSheetsChildren_RSTEMA: TcxGridDBColumn
        Caption = #1058#1077#1084#1072
        DataBinding.FieldName = 'RSTEMA'
        Visible = False
        Options.Filtering = False
      end
      object tvTimeSheetsChildren_RSTIMEENTER: TcxGridDBColumn
        Caption = #1044#1072#1090#1072'-'#1074#1088#1077#1084#1103' '#1079#1072#1074#1077#1076#1077#1085#1080#1103' '#1079#1072#1087#1080#1089#1080
        DataBinding.FieldName = 'RSTIMEENTER'
        Visible = False
        Options.Filtering = False
      end
      object tvTimeSheetsChildren_RSUSERENTER: TcxGridDBColumn
        Caption = #1055#1086#1083#1100#1079#1086#1074#1072#1090#1077#1083#1100', '#1082#1086#1090#1086#1088#1099#1081' '#1079#1072#1074#1105#1083' '#1079#1072#1087#1080#1089#1100
        DataBinding.FieldName = 'RSUSERENTER'
        Visible = False
        Options.Filtering = False
      end
      object tvTimeSheetsChildren_RSTIMEEDIT: TcxGridDBColumn
        Caption = #1044#1072#1090#1072'-'#1074#1088#1077#1084#1103' '#1087#1086#1089#1083#1077#1076#1085#1077#1075#1086' '#1088#1077#1076#1072#1082#1090#1080#1088#1086#1074#1072#1085#1080#1103' '#1079#1072#1087#1080#1089#1080
        DataBinding.FieldName = 'RSTIMEEDIT'
        Visible = False
        Options.Filtering = False
      end
      object tvTimeSheetsChildren_RSUSEREDIT: TcxGridDBColumn
        Caption = #1055#1086#1083#1100#1079#1086#1074#1072#1090#1077#1083#1100', '#1086#1090#1088#1077#1076#1072#1082#1090#1080#1088#1086#1074#1072#1074#1096#1080#1081' '#1079#1072#1087#1080#1089#1100
        DataBinding.FieldName = 'RSUSEREDIT'
        Visible = False
        Options.Filtering = False
      end
      object tvTimeSheetsChildren_RSISDELETE: TcxGridDBColumn
        DataBinding.FieldName = 'RSISDELETE'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_SAVE_WITH_CONFLICT: TcxGridDBColumn
        DataBinding.FieldName = 'SAVE_WITH_CONFLICT'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_ID_SHEET: TcxGridDBColumn
        DataBinding.FieldName = 'ID_SHEET'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_ID_RENDERING_SERVICE_TYPE: TcxGridDBColumn
        DataBinding.FieldName = 'ID_RENDERING_SERVICE_TYPE'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_PID: TcxGridDBColumn
        DataBinding.FieldName = 'PID'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_CHILD_FIO: TcxGridDBColumn
        Caption = #1060#1048#1054' '#1091#1095#1077#1085#1080#1082#1072
        DataBinding.FieldName = 'CHILD_FIO'
        Options.Filtering = False
        SortIndex = 0
        SortOrder = soAscending
        Width = 99
      end
      object tvTimeSheetsChildren_TEACHER_SUPERVISION: TcxGridDBColumn
        Caption = #1053#1072#1073#1083#1102#1076#1077#1085#1080#1077' '#1087#1077#1076#1072#1075#1086#1075#1072' '#1086' '#1079#1072#1085#1103#1090#1080#1080', '#1087#1086#1074#1077#1076#1077#1085#1080#1077' '#1088#1077#1073#1105#1085#1082#1072
        DataBinding.FieldName = 'TEACHER_SUPERVISION'
        Options.Filtering = False
        Width = 106
      end
      object tvTimeSheetsChildren_CHIEF_NOTE: TcxGridDBColumn
        Caption = #1050#1086#1084#1084#1077#1085#1090#1072#1088#1080#1081' '#1088#1091#1082#1086#1074#1086#1076#1080#1090#1077#1083#1103
        DataBinding.FieldName = 'CHIEF_NOTE'
        Options.Filtering = False
        Width = 52
      end
      object tvTimeSheetsChildren_IS_TIME_CONFLICT: TcxGridDBColumn
        DataBinding.FieldName = 'IS_TIME_CONFLICT'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_CONFLICT_TEXT: TcxGridDBColumn
        Caption = #1055#1088#1080#1095#1080#1085#1072' '#1089#1080#1089#1090#1077#1084#1085#1086#1075#1086' '#1082#1086#1085#1092#1083#1080#1082#1090#1072
        DataBinding.FieldName = 'CONFLICT_TEXT'
        Options.Filtering = False
        Width = 84
      end
      object tvTimeSheetsChildren_CONFLICT_NOTE: TcxGridDBColumn
        Caption = #1055#1088#1080#1095#1080#1085#1072' '#1089#1086#1093#1088#1072#1085#1077#1085#1080#1103' '#1089' '#1082#1086#1085#1092#1083#1080#1082#1090#1086#1084
        DataBinding.FieldName = 'CONFLICT_NOTE'
        Options.Filtering = False
        Width = 69
      end
      object tvTimeSheetsChildren_RSOPLATIT: TcxGridDBColumn
        Caption = #1054#1087#1083#1072#1090#1080#1090#1100
        DataBinding.FieldName = 'RSOPLATIT'
        RepositoryItem = DMInv.eriCheckBox
        Options.Filtering = False
        Width = 20
      end
      object tvTimeSheetsChildren_RSOPLACHENO: TcxGridDBColumn
        DataBinding.FieldName = 'RSOPLACHENO'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_TID: TcxGridDBColumn
        DataBinding.FieldName = 'TID'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_TARIF: TcxGridDBColumn
        DataBinding.FieldName = 'TARIF'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_IS_EXIST_TIME_CONFLICT: TcxGridDBColumn
        DataBinding.FieldName = 'IS_EXIST_TIME_CONFLICT'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_SAVE_WITH_COMMENT: TcxGridDBColumn
        DataBinding.FieldName = 'SAVE_WITH_COMMENT'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_MAIN_DEPARTMENT: TcxGridDBColumn
        Caption = #1054#1089#1085#1086#1074#1085#1086#1077' '#1087#1086#1076#1088#1072#1079#1076#1077#1083#1077#1085#1080#1077
        DataBinding.FieldName = 'MAIN_DEPARTMENT'
        Options.Filtering = False
        Width = 66
      end
      object tvTimeSheetsChildren_MIN_IN: TcxGridDBColumn
        Caption = #1042#1088#1077#1084#1103' '#1087#1077#1088#1074#1086#1075#1086' '#1074#1093#1086#1076#1072' '#1074' '#1091#1095#1088#1077#1078#1076#1077#1085#1080#1077' '#1074' '#1091#1082#1072#1079#1072#1085#1085#1091#1102' '#1076#1072#1090#1091
        DataBinding.FieldName = 'MIN_IN'
        RepositoryItem = DMInv.eriTimeEdit
        Options.Filtering = False
        Width = 62
      end
      object tvTimeSheetsChildren_MAX_OUT: TcxGridDBColumn
        Caption = #1042#1088#1077#1084#1103' '#1087#1086#1089#1083#1077#1076#1085#1077#1075#1086' '#1074#1099#1093#1086#1076#1072' '#1080#1079' '#1091#1095#1088#1077#1078#1076#1077#1085#1080#1103' '#1074' '#1091#1082#1072#1079#1072#1085#1085#1091#1102' '#1076#1072#1090#1091
        DataBinding.FieldName = 'MAX_OUT'
        RepositoryItem = DMInv.eriTimeEdit
        Options.Filtering = False
        Width = 57
      end
      object tvTimeSheetsChildren_DELETE_FROM_TIME_SHEET: TcxGridDBColumn
        DataBinding.FieldName = 'DELETE_FROM_TIME_SHEET'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_COUNT_IS_ENABLED: TcxGridDBColumn
        DataBinding.FieldName = 'COUNT_IS_ENABLED'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_ID_SPEC_COND: TcxGridDBColumn
        DataBinding.FieldName = 'ID_SPEC_COND'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_RSP_ID_SHEET: TcxGridDBColumn
        DataBinding.FieldName = 'RSP_ID_SHEET'
        Visible = False
        Options.Filtering = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_AOPERATION: TcxGridDBColumn
        DataBinding.FieldName = 'AOPERATION'
        Visible = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_COUNT_EXTRA: TcxGridDBColumn
        DataBinding.FieldName = 'COUNT_EXTRA'
        Visible = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_IS_EXTRA_SERVICE: TcxGridDBColumn
        DataBinding.FieldName = 'IS_EXTRA_SERVICE'
        Visible = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_PAYMENT_DATE: TcxGridDBColumn
        DataBinding.FieldName = 'PAYMENT_DATE'
        Visible = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_EDIT_TARIFF: TcxGridDBColumn
        DataBinding.FieldName = 'EDIT_TARIFF'
        Visible = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_IS_TIME_CONFLICT_LATE: TcxGridDBColumn
        DataBinding.FieldName = 'IS_TIME_CONFLICT_LATE'
        Visible = False
        VisibleForCustomization = False
      end
      object tvTimeSheetsChildren_CONFLICT_LATE_TEXT: TcxGridDBColumn
        Caption = #1057#1074#1103#1079#1072#1085#1085#1099#1081' '#1082#1086#1085#1092#1083#1080#1082#1090
        DataBinding.FieldName = 'CONFLICT_LATE_TEXT'
        Visible = False
        Width = 57
      end
    end
    object tvChildrenOfTimeSheetsView: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      DataController.DataSource = dsChildrenOfTimeSheets
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <
        item
          Format = #1050#1086#1083'-'#1074#1086':,0'
          Kind = skCount
          Column = tvChildrenOfTimeSheetsView_CHILD_FIO
        end
        item
          Format = #1050#1086#1083'-'#1074#1086':,0'
          Kind = skSum
          Column = tvChildrenOfTimeSheetsView_RSOPLATIT
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.CellHints = True
      OptionsBehavior.IncSearch = True
      OptionsCustomize.ColumnsQuickCustomization = True
      OptionsData.Deleting = False
      OptionsData.Editing = False
      OptionsData.Inserting = False
      OptionsSelection.HideFocusRectOnExit = False
      OptionsView.ColumnAutoWidth = True
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      OptionsView.HeaderAutoHeight = True
      Styles.Content = DMInv.cxData
      Styles.IncSearch = DMInv.cxKrasniyText
      Styles.Selection = DMInv.cxJoltiyFon
      Styles.OnGetContentStyle = tvChildrenOfTimeSheetsStylesGetContentStyle
      Styles.Header = DMInv.cxSiniyText
      object tvChildrenOfTimeSheetsView_RSID: TcxGridDBColumn
        DataBinding.FieldName = 'RSID'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_PID: TcxGridDBColumn
        DataBinding.FieldName = 'PID'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_RSPLEVEL: TcxGridDBColumn
        DataBinding.FieldName = 'RSPLEVEL'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_RSPUSERENTER: TcxGridDBColumn
        DataBinding.FieldName = 'RSPUSERENTER'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_RSPTIMEENTER: TcxGridDBColumn
        DataBinding.FieldName = 'RSPTIMEENTER'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_RSPUSEREDIT: TcxGridDBColumn
        DataBinding.FieldName = 'RSPUSEREDIT'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_RSPTIMEEDIT: TcxGridDBColumn
        DataBinding.FieldName = 'RSPTIMEEDIT'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_RSPISDELETE: TcxGridDBColumn
        DataBinding.FieldName = 'RSPISDELETE'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_TID: TcxGridDBColumn
        DataBinding.FieldName = 'TID'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_RSPCORRECTION: TcxGridDBColumn
        DataBinding.FieldName = 'RSPCORRECTION'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_TARIF: TcxGridDBColumn
        DataBinding.FieldName = 'TARIF'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_IS_TIME_CONFLICT: TcxGridDBColumn
        DataBinding.FieldName = 'IS_TIME_CONFLICT'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_ID_SPEC_COND: TcxGridDBColumn
        DataBinding.FieldName = 'ID_SPEC_COND'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_ID_SHEET: TcxGridDBColumn
        DataBinding.FieldName = 'ID_SHEET'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_PID_PEDAG: TcxGridDBColumn
        DataBinding.FieldName = 'PID_PEDAG'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_CHILD_FIO: TcxGridDBColumn
        Caption = #1060#1048#1054' '#1091#1095#1077#1085#1080#1082#1072
        DataBinding.FieldName = 'CHILD_FIO'
        GroupIndex = 2
        SortIndex = 2
        SortOrder = soAscending
        Width = 20
      end
      object tvChildrenOfTimeSheetsView_RSDATE: TcxGridDBColumn
        Caption = #1044#1072#1090#1072' '#1086#1082#1072#1079#1072#1085#1080#1103' '#1091#1089#1083#1091#1075#1080
        DataBinding.FieldName = 'RSDATE'
        SortIndex = 3
        SortOrder = soAscending
        Width = 37
      end
      object tvChildrenOfTimeSheetsView_RSTIMEBEGIN: TcxGridDBColumn
        Caption = #1042#1088#1077#1084#1103' '#1085#1072#1095#1072#1083#1072' '#1086#1082#1072#1079#1072#1085#1080#1103' '#1091#1089#1083#1091#1075#1080
        DataBinding.FieldName = 'RSTIMEBEGIN'
        RepositoryItem = DMInv.eriTimeEdit
        SortIndex = 4
        SortOrder = soAscending
        Width = 33
      end
      object tvChildrenOfTimeSheetsView_RSTIMEEND: TcxGridDBColumn
        Caption = #1042#1088#1077#1084#1103' '#1086#1082#1086#1085#1095#1072#1085#1080#1103' '#1086#1082#1072#1079#1072#1085#1080#1103' '#1091#1089#1083#1091#1075#1080
        DataBinding.FieldName = 'RSTIMEEND'
        RepositoryItem = DMInv.eriTimeEdit
        SortIndex = 5
        SortOrder = soAscending
        Width = 30
      end
      object tvChildrenOfTimeSheetsView_SERVICE_NAME: TcxGridDBColumn
        Caption = #1059#1089#1083#1091#1075#1072
        DataBinding.FieldName = 'SERVICE_NAME'
        GroupIndex = 0
        SortIndex = 0
        SortOrder = soAscending
        Width = 37
      end
      object tvChildrenOfTimeSheetsView_PEDAG_NAME: TcxGridDBColumn
        Caption = #1060#1048#1054' '#1087#1077#1076#1072#1075#1086#1075#1072
        DataBinding.FieldName = 'PEDAG_NAME'
        GroupIndex = 1
        SortIndex = 1
        SortOrder = soAscending
        Width = 72
      end
      object tvChildrenOfTimeSheetsView_RSTEMA: TcxGridDBColumn
        Caption = #1058#1077#1084#1072
        DataBinding.FieldName = 'RSTEMA'
        Width = 75
      end
      object tvChildrenOfTimeSheetsView_SDID: TcxGridDBColumn
        DataBinding.FieldName = 'SDID'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_RSPNOTE: TcxGridDBColumn
        Caption = #1053#1072#1073#1083#1102#1076#1077#1085#1080#1077' '#1087#1077#1076#1072#1075#1086#1075#1072
        DataBinding.FieldName = 'RSPNOTE'
        Width = 67
      end
      object tvChildrenOfTimeSheetsView_CONFLICT_TEXTCONFLICT_TEXT: TcxGridDBColumn
        Caption = #1055#1088#1080#1095#1080#1085#1072' '#1082#1086#1085#1092#1083#1080#1082#1090#1072
        DataBinding.FieldName = 'CONFLICT_TEXT'
        Visible = False
        Width = 58
      end
      object tvChildrenOfTimeSheetsView_CONFLICT_NOTE: TcxGridDBColumn
        Caption = #1050#1086#1084#1084#1077#1085#1090#1072#1088#1080#1081' '#1082' '#1082#1086#1085#1092#1083#1080#1082#1090#1091
        DataBinding.FieldName = 'CONFLICT_NOTE'
        Visible = False
        Width = 52
      end
      object tvChildrenOfTimeSheetsView_RSOPLATIT: TcxGridDBColumn
        Caption = #1054#1087#1083#1072#1090#1080#1090#1100
        DataBinding.FieldName = 'RSOPLATIT'
        RepositoryItem = DMInv.eriCheckBox
        Width = 27
      end
      object tvChildrenOfTimeSheetsView_RSOPLACHENO: TcxGridDBColumn
        Caption = #1054#1087#1083#1072#1095#1077#1085#1086
        DataBinding.FieldName = 'RSOPLACHENO'
        RepositoryItem = DMInv.eriCheckBox
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_CHIEF_NOTE: TcxGridDBColumn
        Caption = #1050#1086#1084#1084#1077#1085#1090#1072#1088#1080#1081' '#1088#1091#1082#1086#1074#1086#1076#1080#1090#1077#1083#1103
        DataBinding.FieldName = 'CHIEF_NOTE'
        Visible = False
        Width = 47
      end
      object tvChildrenOfTimeSheetsView_IS_EXTRA_SERVICE: TcxGridDBColumn
        Caption = #1069#1082#1090#1088#1072#1091#1089#1083#1091#1075#1072
        DataBinding.FieldName = 'IS_EXTRA_SERVICE'
        RepositoryItem = DMInv.eriCheckBox
        Visible = False
        Width = 43
      end
      object tvChildrenOfTimeSheetsView_PAYMENT_DATE: TcxGridDBColumn
        Caption = #1044#1072#1090#1072' '#1086#1087#1083#1072#1090#1099
        DataBinding.FieldName = 'PAYMENT_DATE'
        Visible = False
        Width = 55
      end
      object tvChildrenOfTimeSheetsView_EDIT_TARIFF: TcxGridDBColumn
        Caption = #1054#1090#1088#1077#1076#1072#1082#1090#1080#1088#1086#1074#1072#1085#1085#1099#1081' '#1090#1072#1088#1080#1092
        DataBinding.FieldName = 'EDIT_TARIFF'
        Visible = False
        Width = 58
      end
      object tvChildrenOfTimeSheetsView_IS_TIME_CONFLICT_LATE: TcxGridDBColumn
        DataBinding.FieldName = 'IS_TIME_CONFLICT_LATE'
        Visible = False
        VisibleForCustomization = False
      end
      object tvChildrenOfTimeSheetsView_CONFLICT_LATE_TEXT: TcxGridDBColumn
        Caption = #1057#1074#1103#1079#1072#1085#1085#1099#1081' '#1082#1086#1085#1092#1083#1080#1082#1090
        DataBinding.FieldName = 'CONFLICT_LATE_TEXT'
        Visible = False
        Width = 67
      end
    end
  end
  object cdsChildren: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 146
    Top = 241
  end
  object alTimeSheets: TActionList
    Images = DMInv.cxSmallImages
    Left = 673
    Top = 8
    object actMainDepartment: TAction
      Category = 'TimeSheetEditorFilters'
      Caption = #1054#1089#1085#1086#1074#1085#1086#1077' '#1087#1086#1076#1088#1072#1079#1076#1077#1083#1077#1085#1080#1077
      Hint = #1042#1099#1073#1086#1088' '#1086#1089#1085#1086#1074#1085#1086#1075#1086' '#1086#1087#1076#1088#1072#1079#1076#1077#1083#1077#1085#1080#1103
      OnExecute = actMainDepartmentExecute
    end
    object actServiceType: TAction
      Category = 'TimeSheetEditorFilters'
      Caption = #1058#1080#1087' '#1091#1089#1083#1091#1075#1080
      Hint = #1059#1082#1072#1079#1099#1074#1072#1077#1090#1089#1103' '#1090#1080#1087' '#1091#1089#1083#1091#1075#1080
      OnExecute = actServiceTypeExecute
    end
    object actService: TAction
      Category = 'TimeSheetEditorFilters'
      Caption = #1059#1089#1083#1091#1075#1072
      Hint = #1042#1099#1073#1086#1088' '#1091#1089#1083#1091#1075#1080
      OnExecute = actServiceExecute
    end
    object actAdditionalDepartment: TAction
      Category = 'TimeSheetEditorFilters'
      Caption = #1044#1086#1087#1086#1083#1085#1080#1090#1077#1083#1100#1085#1086#1077' '#1087#1086#1076#1088#1072#1079#1076#1077#1083#1077#1085#1080#1077
      Hint = #1042#1099#1073#1086#1088' '#1076#1086#1087#1086#1083#1085#1080#1090#1077#1083#1100#1085#1086#1075#1086' '#1087#1086#1076#1088#1072#1079#1076#1077#1083#1077#1085#1080#1103
      OnExecute = actAdditionalDepartmentExecute
    end
    object actTeacher: TAction
      Category = 'TimeSheetEditorFilters'
      Caption = #1047#1072#1085#1103#1090#1080#1077' '#1087#1088#1086#1074#1105#1083
      Hint = #1042#1099#1073#1086#1088' '#1087#1088#1077#1087#1086#1076#1072#1074#1072#1090#1077#1083#1103', '#1087#1088#1086#1074#1077#1076#1096#1077#1075#1086' '#1079#1072#1085#1103#1090#1080#1077
      OnExecute = actTeacherExecute
    end
    object actDateLesson: TAction
      Category = 'TimeSheetEditorFilters'
      Caption = #1044#1072#1090#1072' '#1087#1088#1086#1074#1077#1076#1077#1085#1080#1103' '#1079#1072#1085#1103#1090#1080#1103
      Hint = #1042#1099#1073#1086#1088' '#1076#1072#1090#1099' '#1087#1088#1086#1074#1077#1076#1077#1085#1080#1103' '#1079#1072#1085#1103#1090#1080#1103
      OnExecute = actDateLessonExecute
    end
    object actShowIsNotEnabled: TAction
      Category = 'TimeSheetEditorFilters'
      Caption = #1055#1086#1082#1072#1079#1099#1074#1072#1090#1100' '#1076#1077#1090#1077#1081', '#1091' '#1082#1086#1090#1086#1088#1099#1093' '#1082#1086#1083#1080#1095#1077#1089#1090#1074#1086' '#1076#1086#1089#1090#1091#1087#1085#1099#1093' '#1079#1072#1085#1103#1090#1080#1081' = 0'
      Hint = #1055#1086#1082#1072#1079#1099#1074#1072#1090#1100' '#1076#1077#1090#1077#1081', '#1091' '#1082#1086#1090#1086#1088#1099#1093' '#1082#1086#1083#1080#1095#1077#1089#1090#1074#1086' '#1076#1086#1089#1090#1091#1087#1085#1099#1093' '#1079#1072#1085#1103#1090#1080#1081' = 0'
      OnExecute = actShowIsNotEnabledExecute
    end
    object actChildrenRefresh: TAction
      Category = 'TimeSheetEditor'
      Caption = #1054#1073#1085#1086#1074#1080#1090#1100' '#1089#1087#1080#1089#1086#1082' '#1076#1077#1090#1077#1081
      Hint = #1054#1073#1085#1086#1074#1080#1090#1100' '#1089#1087#1080#1089#1086#1082' '#1076#1077#1090#1077#1081
      ImageIndex = 63
      OnExecute = actChildrenRefreshExecute
    end
    object actBeginTimeLesson: TAction
      Category = 'TimeSheetEditorFilters'
      Caption = #1042#1088#1077#1084#1103' '#1085#1072#1095#1072#1083#1072' '#1079#1072#1085#1103#1090#1080#1103
      Hint = #1042#1099#1073#1086#1088' '#1074#1088#1077#1084#1077#1085#1080' '#1085#1072#1095#1072#1083#1072' '#1079#1072#1085#1103#1090#1080#1103
      OnExecute = actBeginTimeLessonExecute
    end
    object actCreateTimeSheet: TAction
      Category = 'TimeSheetEditor'
      Caption = #1057#1086#1079#1076#1072#1090#1100' '#1090#1072#1073#1077#1083#1100
      Hint = #1057#1086#1079#1076#1072#1090#1100' '#1090#1072#1073#1077#1083#1100
      ImageIndex = 40
    end
    object actEndTimeLesson: TAction
      Category = 'TimeSheetEditorFilters'
      Caption = #1042#1088#1077#1084#1103' '#1086#1082#1086#1085#1095#1072#1085#1080#1103' '#1079#1072#1085#1103#1090#1080#1103
      Enabled = False
      Hint = #1042#1099#1073#1086#1088' '#1074#1088#1077#1084#1077#1085#1080' '#1086#1082#1086#1085#1095#1072#1085#1080#1103' '#1079#1072#1085#1103#1090#1080#1103
      OnExecute = actEndTimeLessonExecute
    end
    object actDateInterval: TAction
      Category = 'TimeSheetsFilter'
      Caption = #1044#1080#1072#1087#1072#1079#1086#1085' '#1076#1072#1090
      Hint = #1042#1099#1073#1086#1088' '#1076#1080#1072#1087#1072#1079#1086#1085#1072' '#1076#1072#1090
      OnExecute = actDateIntervalExecute
    end
    object actTimeSheetsUpdate: TAction
      Category = 'TimeSheets'
      Caption = #1054#1073#1085#1086#1074#1080#1090#1100
      Hint = #1054#1073#1085#1086#1074#1080#1090#1100' '#1089#1087#1080#1089#1086#1082
      ImageIndex = 63
      OnExecute = actTimeSheetsUpdateExecute
    end
    object actTimeSheetsAdd: TAction
      Category = 'TimeSheets'
      Caption = #1053#1086#1074#1099#1081' '#1090#1072#1073#1077#1083#1100
      Hint = #1057#1086#1079#1076#1072#1090#1100' '#1085#1086#1074#1099#1081' '#1090#1072#1073#1077#1083#1100
      ImageIndex = 57
      OnExecute = actTimeSheetsAddExecute
    end
    object actTimeSheetsEdit: TAction
      Category = 'TimeSheets'
      Caption = #1048#1079#1084#1077#1085#1080#1090#1100
      Hint = #1056#1077#1076#1072#1082#1090#1080#1088#1086#1074#1072#1090#1100' '#1090#1072#1073#1077#1083#1100
      ImageIndex = 54
    end
    object actSaveTimeSheet: TAction
      Category = 'TimeSheetEditor'
      Caption = #1057#1086#1093#1088#1072#1085#1080#1090#1100
      Hint = #1057#1086#1093#1088#1072#1085#1080#1090#1100' '#1080#1079#1084#1077#1085#1077#1085#1080#1103' '#1074' '#1090#1072#1073#1077#1083#1077
      ImageIndex = 2
    end
    object actCancelTimeSheet: TAction
      Category = 'TimeSheetEditor'
      Caption = #1054#1090#1084#1077#1085#1072
      Hint = #1054#1090#1084#1077#1085#1080#1090#1100' '#1074#1089#1077' '#1076#1077#1081#1089#1090#1074#1080#1103
      ImageIndex = 4
    end
    object actTimeSheetsDelete: TAction
      Category = 'TimeSheets'
      Caption = #1059#1076#1072#1083#1080#1090#1100
      Hint = #1059#1076#1072#1083#1080#1090#1100' '#1074#1099#1076#1077#1083#1077#1085#1085#1099#1081' '#1090#1072#1073#1077#1083#1100
      ImageIndex = 10
      OnExecute = actTimeSheetsDeleteExecute
      OnUpdate = actTimeSheetsDeleteUpdate
    end
    object actCustomization: TAction
      Category = 'TimeSheets'
      Caption = #1042#1080#1076#1080#1084#1086#1089#1090#1100' '#1082#1086#1083#1086#1085#1086#1082
      Hint = #1042#1080#1076#1080#1084#1086#1089#1090#1100' '#1082#1086#1083#1086#1085#1086#1082
      ImageIndex = 17
      OnExecute = actCustomizationExecute
    end
    object actChildrenAdd: TAction
      Category = 'TimeSheetEditor'
      Caption = #1044#1086#1073#1072#1074#1080#1090#1100' '#1091#1095#1077#1085#1080#1082#1086#1074
      HelpKeyword = #1044#1086#1073#1072#1074#1080#1090#1100' '#1091#1095#1077#1085#1080#1082#1086#1074' '#1074' '#1090#1072#1073#1077#1083#1100
      ImageIndex = 38
      OnExecute = actChildrenAddExecute
    end
    object actTimeSheetsExpand: TAction
      Category = 'TimeSheets'
      Caption = #1056#1072#1079#1074#1077#1088#1085#1091#1090#1100
      Hint = #1056#1072#1079#1074#1077#1088#1085#1091#1090#1100' '#1089#1087#1080#1089#1086#1082
      ImageIndex = 64
      OnExecute = actTimeSheetsExpandExecute
    end
    object actTimeSheetsCollapse: TAction
      Category = 'TimeSheets'
      Caption = #1057#1074#1077#1088#1085#1091#1090#1100
      Hint = #1057#1074#1077#1088#1085#1091#1090#1100' '#1089#1087#1080#1089#1086#1082
      ImageIndex = 65
      OnExecute = actTimeSheetsCollapseExecute
    end
    object actTimeSheetsShowDetail: TAction
      Category = 'TimeSheets'
      Caption = #1055#1086#1082#1072#1079#1099#1074#1072#1090#1100' '#1089#1086#1076#1077#1088#1078#1080#1084#1086#1077' '#1090#1072#1073#1077#1083#1077#1081
      Hint = #1055#1086#1082#1072#1079#1099#1074#1072#1090#1100' '#1089#1086#1076#1077#1088#1078#1080#1084#1086#1077' '#1090#1072#1073#1077#1083#1077#1081
      ImageIndex = 66
      OnExecute = actTimeSheetsShowDetailExecute
    end
    object actAdditionalDepartmentClear: TAction
      Category = 'TimeSheetEditor'
      Caption = #1054#1095#1080#1089#1090#1080#1090#1100
      Hint = #1054#1095#1080#1089#1090#1080#1090#1100' '#1092#1080#1083#1100#1090#1088' '#1087#1086' '#1076#1086#1087'. '#1087#1086#1076#1088#1072#1079#1076#1077#1083#1077#1085#1080#1102
      ImageIndex = 67
    end
    object actChildrenAddSave: TAction
      Category = 'TimeSheetEditor'
      Caption = #1054#1050
      Hint = #1044#1086#1073#1072#1074#1080#1090#1100' '#1074#1099#1073#1088#1072#1085#1085#1099#1093' '#1091#1095#1077#1085#1080#1082#1086#1074' '#1074' '#1090#1072#1073#1077#1083#1100
      ImageIndex = 2
    end
    object actChildrenOfTimeSheetsExpand: TAction
      Category = 'TimeSheets'
      Caption = #1056#1072#1079#1074#1077#1088#1085#1091#1090#1100
      Hint = #1056#1072#1079#1074#1077#1088#1085#1091#1090#1100' '#1089#1087#1080#1089#1086#1082
      ImageIndex = 64
      OnExecute = actChildrenOfTimeSheetsExpandExecute
    end
    object actChildrenOfTimeSheetsCollapse: TAction
      Category = 'TimeSheets'
      Caption = #1057#1074#1077#1088#1085#1091#1090#1100
      Hint = #1057#1074#1077#1088#1085#1091#1090#1100' '#1089#1087#1080#1089#1086#1082
      ImageIndex = 65
      OnExecute = actChildrenOfTimeSheetsCollapseExecute
    end
  end
  object dsTimeSheet: TDataSource
    DataSet = cdsTimeSheet
    Left = 16
    Top = 287
  end
  object cdsTimeSheets: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 150
    Top = 8
  end
  object dsTimeSheetsChildren: TDataSource
    DataSet = cdsTimeSheetsChildren
    Left = 247
    Top = 241
  end
  object cdsTimeSheetsChildren: TClientDataSet
    Aggregates = <>
    IndexFieldNames = 'RSID'
    Params = <>
    Left = 378
    Top = 241
  end
  object dsChildrenOfTimeSheets: TDataSource
    DataSet = cdsChildrenOfTimeSheets
    Left = 247
    Top = 287
  end
  object cdsChildrenOfTimeSheets: TClientDataSet
    Aggregates = <>
    IndexFieldNames = 'RSID'
    Params = <>
    Left = 378
    Top = 287
  end
  object fdsTimeSheets: TpFIBDataSet
    SelectSQL.Strings = (
      'select RS.*'
      'from RENDERING_SERVICES$VIEW(:BEGIN_DATE, :END_DATE) RS'
      'where (RS.RSISDELETE = 0)')
    Transaction = DMInv.trFibRead
    Database = DMInv.db
    Left = 81
    Top = 8
  end
  object fdsMainDepartments: TpFIBDataSet
    SelectSQL.Strings = (
      'WITH recursive'
      '   tree (SDNAME, SDID, SDPARID, SDISDELETE)'
      
        '   AS (SELECT SD.SDNAME, SD.SDID, sd.SDPARID, sd.SDISDELETE FROM' +
        ' SYS_DIC SD'
      '      WHERE sd.SDPARID = 13'
      '      UNION ALL'
      '      SELECT SD1.SDNAME, SD1.SDID, sd1.SDPARID, sd1.SDISDELETE'
      '      FROM SYS_DIC SD1'
      '          INNER JOIN tree t '
      '           ON t.sdid = sd1.SDPARID)'
      'SELECT  SDNAME, SDID, SDPARID, SDISDELETE, 0 as ACHECK'
      'FROM tree t')
    Transaction = DMInv.trFibRead
    Database = DMInv.db
    Left = 81
    Top = 57
  end
  object fdsServices: TpFIBDataSet
    SelectSQL.Strings = (
      'WITH   recursive'
      '   TREE'
      
        '   AS (SELECT SD.SDNAME, SD.SDID, sd.SDPARID, sd.SDISDELETE FROM' +
        ' SYS_DIC SD'
      '      WHERE sd.SDPARID = :IN_MAIN_DEPARTMENT'
      '      UNION ALL'
      '      SELECT SD1.SDNAME, SD1.SDID, sd1.SDPARID, sd1.SDISDELETE'
      '      FROM SYS_DIC SD1'
      '          INNER JOIN tree t '
      '           ON t.sdid = sd1.SDPARID)'
      'select T.SDID, T.SDNAME'
      'from SERVICES_TYPE ST'
      'inner join TREE T on (T.SDID = ST.STSDIDTABEL)'
      
        'where (/*(current_date between ST.STDATEBEGIN and coalesce(ST.ST' +
        'DATEEND, current_date)) and */(ST.STISARCHIVE = 0))'
      'group by 1, 2')
    Transaction = DMInv.trFibRead
    Database = DMInv.db
    Left = 80
    Top = 104
  end
  object fdsAdditionalDepartments: TpFIBDataSet
    SelectSQL.Strings = (
      'SELECT DP.SDID, SD.SDNAME'
      'FROM SERVICES_TYPE ST'
      'inner join SERVICES S on (S.STID = ST.STID)'
      'inner join DETI_PODRAZD_SC DP on (DP.SCID = S.SCID)'
      'INNER JOIN SYS_DIC SD ON (SD.SDID = DP.SDID)'
      'WHERE (ST.STSDIDTABEL = :STID)'
      'group by 1, 2')
    Transaction = DMInv.trFibRead
    Database = DMInv.db
    Left = 81
    Top = 149
  end
  object fdsTeachers: TpFIBDataSet
    SelectSQL.Strings = (
      
        'select P.PID as ID_USER, P.PLASTNAME || '#39' '#39' || P.PNAME || '#39' '#39' ||' +
        ' P.PPATRONYMIC as FIO'
      'from DOLJNOST_PEOPLE DP'
      'inner join PEOPLE P on (P.PID = DP.PID)'
      'inner join DOLJNOST D on (D.DOLID = DP.DOLID)'
      
        'where (current_date between DP.DOLDATEBEGIN and coalesce(DP.DOLD' +
        'ATEEND, current_date))')
    Transaction = DMInv.trFibRead
    Database = DMInv.db
    Left = 81
    Top = 194
  end
  object fdsChildren: TpFIBDataSet
    Transaction = DMInv.trFibRead
    Database = DMInv.db
    Left = 80
    Top = 241
  end
  object fdsTimeSheet: TpFIBDataSet
    SelectSQL.Strings = (
      'select CH.*'
      'from P_GET_CHILD_BY_RS(:IN_ID, null, null) CH')
    Transaction = DMInv.trFibRead
    Database = DMInv.db
    Left = 80
    Top = 287
  end
  object fdsTimeSheetsChildren: TpFIBDataSet
    SelectSQL.Strings = (
      'select CH.*'
      'from P_GET_CHILD_BY_RS(null, :START_DATE, :END_DATE) CH')
    Transaction = DMInv.trFibRead
    Database = DMInv.db
    Left = 312
    Top = 241
  end
  object fdsChildrenOfTimeSheets: TpFIBDataSet
    SelectSQL.Strings = (
      'select RSP.*'
      'from RS_PEOPLE$VW(:BEGIN_DATE, :END_DATE) RSP')
    Transaction = DMInv.trFibRead
    Database = DMInv.db
    Left = 312
    Top = 288
  end
  object fdsSuperVisor: TpFIBDataSet
    SelectSQL.Strings = (
      'select count(G.UPGID) as IS_SUPER_VISOR'
      'from USER_PERMISSIONS UP'
      'inner join UP_GROUPDESCR G on (G.UPGID = UP.UPGROUPID)'
      'where ((UP.PID = :PID) and'
      '       (G.UPGID = 0))')
    Transaction = DMInv.trFibRead
    Database = DMInv.db
    Left = 280
    Top = 58
  end
  object qTimeSheetHeaderUpdate: TpFIBQuery
    Transaction = DMInv.trFibWrite
    Database = DMInv.db
    SQL.Strings = (
      'select RS.OUT_ID, RS.OUT_ERROR'
      
        'from RENDERING_SERVICES$EDIT(:AOPERATION, :RSID, :SDID, :PID_PED' +
        'AG, :PID_ADM, :RSDATE, :RSTIMEBEGIN, :RSTIMEEND, :RSTEMA, :ID_SH' +
        'EET, :ID_RENDERING_SERVICE_TYPE, :ID_ADDITIONAL_DEPARTMENT) RS')
    Left = 280
    Top = 8
  end
  object qTimeSheetListUpdate: TpFIBQuery
    Transaction = DMInv.trFibWrite
    Database = DMInv.db
    SQL.Strings = (
      
        'execute procedure RS_PEOPLE$EDIT(:AOPERATION, :RSID, :PID, :RSPL' +
        'EVEL, :RSPNOTE, :RSOPLATIT, :RSOPLACHENO, :TID,'
      
        '    :RSPCORRECTION, :TARIF, :CHIEF_NOTE, :IS_TIME_CONFLICT, :CON' +
        'FLICT_NOTE, :ID_SPEC_COND, :ID_SHEET, :IS_EXTRA_SERVICE,'
      
        '    :PAYMENT_DATE, :EDIT_TARIFF, :IS_TIME_CONFLICT_LATE, :PID_PE' +
        'DAG, :RSDATE, :RSTIMEBEGIN, :RSTIMEEND)')
    Left = 371
    Top = 8
  end
  object fdsDutyTimeSheets: TpFIBDataSet
    SelectSQL.Strings = (
      
        'select extract(year from RS.RSDATE) as AYEAR, extract(month from' +
        ' RS.RSDATE) as AMONTH, count(RS.RSDATE) as ACOUNT'
      'from RENDERING_SERVICES RS'
      'inner join RS_PEOPLE RSP on (RSP.RSID = RS.RSID)'
      'inner join PEOPLE P on (P.PID = RS.PID_PEDAG)'
      'inner join PEOPLE PCH on (PCH.PID = RSP.PID)'
      
        'where ((RS.RSDATE < cast('#39'01.'#39' || cast(extract(month from curren' +
        't_date) as D_STR5) || '#39'.'#39' || cast(extract(year from current_date' +
        ') as d_str5) as D_DATE)) and'
      '       (coalesce(RSP.RSOPLATIT, 0) = 0) and'
      '       (coalesce(RSP.IS_TIME_CONFLICT, 0) = 0) and'
      '       (coalesce(RSP.IS_TIME_CONFLICT_LATE, 0) = 0) and'
      '       (coalesce(RS.RSISDELETE, 0) = 0) and'
      '       (coalesce(RSP.RSPISDELETE, 0) = 0) and'
      '       not exists(select T1.*'
      '                  from (with recursive TREE as'
      
        '                             (select SD.SDNAME, SD.SDID, SD.SDPA' +
        'RID'
      '                              from SYS_DIC SD'
      '                              where SD.SDPARID = 11746'
      '                              union all'
      
        '                              select SD1.SDNAME, SD1.SDID, SD1.S' +
        'DPARID'
      '                              from SYS_DIC SD1'
      
        '                              inner join TREE T on T.SDID = SD1.' +
        'SDPARID)'
      '                        select SDNAME,'
      '                               SDID,'
      '                               SDPARID'
      '                       from TREE T) as T1'
      '                  where (T1.SDID = RS.SDID)) and'
      '       (RS.RSDATE >= '#39'01.01.2013'#39')'
      '      )'
      'group by 1, 2')
    Transaction = DMInv.trFibRead
    Database = DMInv.db
    Left = 280
    Top = 104
  end
  object fdsToPayTimeSheets: TpFIBDataSet
    SelectSQL.Strings = (
      
        'select extract(year from RS.RSDATE) as AYEAR, extract(month from' +
        ' RS.RSDATE) as AMONTH, count(RS.RSDATE) as ACOUNT'
      'from RENDERING_SERVICES RS'
      'inner join RS_PEOPLE RSP on (RSP.RSID = RS.RSID)'
      'inner join PEOPLE P on (P.PID = RS.PID_PEDAG)'
      
        'inner join DOP_USL_TARIFFS T on ((T.PID = P.PID) and (T.SDID = R' +
        'S.SDID))'
      'inner join PEOPLE PCH on (PCH.PID = RSP.PID)'
      
        'where ((RS.RSDATE < cast('#39'01.'#39' || cast(extract(month from curren' +
        't_date) as D_STR5) || '#39'.'#39' || cast(extract(year from current_date' +
        ') as d_str5) as D_DATE)) and'
      '       (coalesce(RSP.RSOPLATIT, 0) = 1) and'
      '       (coalesce(RSP.RSOPLACHENO, 0) = 0) and'
      '       (coalesce(RS.RSISDELETE, 0) = 0) and'
      '       (coalesce(RSP.RSPISDELETE, 0) = 0) and'
      '       not exists(select T1.*'
      '                  from (with recursive TREE as'
      
        '                             (select SD.SDNAME, SD.SDID, SD.SDPA' +
        'RID'
      '                              from SYS_DIC SD'
      '                              where SD.SDPARID = 11746'
      '                              union all'
      
        '                              select SD1.SDNAME, SD1.SDID, SD1.S' +
        'DPARID'
      '                              from SYS_DIC SD1'
      
        '                              inner join TREE T on T.SDID = SD1.' +
        'SDPARID)'
      '                        select SDNAME,'
      '                               SDID,'
      '                               SDPARID'
      '                       from TREE T) as T1'
      '                  where (T1.SDID = RS.SDID)) and'
      '       (RS.RSDATE >= '#39'01.01.2013'#39') and'
      
        '       (RS.RSDATE between T.TDATEBEGIN and coalesce(T.TDATEEND, ' +
        'current_date))'
      '      )'
      'group by 1, 2')
    Transaction = DMInv.trFibRead
    Database = DMInv.db
    Left = 280
    Top = 152
  end
end
